package com.nanhai.buddhist.college.module.study.controller.admin.attendancemanagement.vo;

import com.nanhai.buddhist.college.framework.common.pojo.PageParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotNull;
import java.util.Date;

import static com.nanhai.buddhist.college.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@ApiModel("管理后台 - 考勤管理分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class AttendanceManagementPageReqVO extends PageParam {

    @ApiModelProperty(value = "请假开始时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private Date[] leaveStartTime;

    @ApiModelProperty(value = "请假结束时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private Date[] leaveEndTime;

    @ApiModelProperty("抄送人id")
    private String copySendId;


    @ApiModelProperty(value = "审批状态")
    private Integer approvalStatus;
    @ApiModelProperty(value = "用户名称")
    private String userName;
    @ApiModelProperty(value = "电话号码")
    private String userPhone;
    @ApiModelProperty(value = "用户类型")
    private Integer userType;



}
